package org.dromara.system.domain.vo;

import java.math.BigDecimal;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.system.domain.PointsMallRecords;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 积分商城订单视图对象 points_mall_records
 *
 * @author Lion Li
 * @date 2025-07-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PointsMallRecords.class)
public class PointsMallRecordsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long userId;

    /**
     * 兑换订单号
     */
    @ExcelProperty(value = "兑换订单号")
    private String no;

    /**
     * 兑换状态  待发货  已发货
     */
    @ExcelProperty(value = "兑换状态  待发货  已发货")
    private Integer status;

    /**
     * 商品标题
     */
    @ExcelProperty(value = "商品标题")
    private String goodsTitle;

    /**
     * 商品图片
     */
    @ExcelProperty(value = "商品图片")
    private String goodsImage;

    /**
     * 商品图片Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "goodsImage")
    private String goodsImageUrl;
    /**
     * 订单扣除积分
     */
    @ExcelProperty(value = "订单扣除积分")
    private BigDecimal goodPoints;

    /**
     * 兑换账号
     */
    @ExcelProperty(value = "兑换账号")
    private String exchangeAccount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    private String userName;

    private Date createTime;

}
